<?php 

class fenshuView extends GetLoad
{
	
	public function jianliview($data){
		$this->load("Controller/user");
		$daohang =new ControllerName();
		$daohang->Getname(0);
?>
   
    	<div style="margin-left:auto; margin-right:auto;" class="container" >    
        
        	<div class="container col-sm-8"  >
            	


                <table class="table">
                    <caption><?php echo $data['mingcheng']?></caption>
                   <thead>
                      <tr>
                         <th>姓名</th>
                         <th>成绩</th>
                         
                      </tr>
                   </thead>
                   <tbody>
                    <?php foreach ($data['chengji'] as $shiyanshi) { ?>

                      <tr>
                         <td><?php echo $shiyanshi['name']?> </td>
                         <td><?php echo $shiyanshi['fenshu']?></td>
                         
                      </tr>
                      <?php } ?>
                      
                   </tbody>
                </table>



				
            </div>
           
        
          
       </div>
    </div>

    
</body>
</html>
<?php 

  }
}

?>